//
//  XSToastView.h
//  XSDownloadDemo
//
//  Created by 大帅 on 2023/12/25.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface XSToastView : NSObject

/// 获取单例
+ (instancetype)shareManager;

/// 显示文字，默认1.5秒后消失
- (void)showMessage:(NSString *)message;

/// 显示文字，设置显示时长
- (void)showMessage:(NSString *)message duration:(NSTimeInterval)duration;

@end

NS_ASSUME_NONNULL_END
